package com.dao;

import com.pojo.User;

import java.sql.SQLException;

public interface UserDao {

//    判断是否用户名相同
    public boolean isUsernameExist(String usernane) throws Exception;
//    判断是否email相同
    public boolean isEmailExist(String emain) throws Exception;
//    添加用户
    public User addUser(User user) throws Exception;
}
